package com.juvepoland.jpdroid.application;

import com.juvepoland.jpdroid.models.User;

import android.app.Application;

public class JPdroidApplication extends Application {
	
	private User loggedUser;

	public User getLoggedUser() {
		return loggedUser;
	}

	public void setLoggedUser(User loggedUser) {
		this.loggedUser = loggedUser;
	}

	public boolean isUserLogged() {
		if(loggedUser==null){
			return false;
		}
		else{
			return true;
		}
	}


}
